﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Leiktuther.Models;
using System.ComponentModel.DataAnnotations;

namespace Leiktuther.ViewModels
{
    public class GameViewModel
    {
        public int ID { get; set; }
        public string Reference { get; set; }
        public string Name { get; set; }
        public string ImageFolder { get; set; }
    }

    public class HighScoreModel
    {
        [Required]
        [Display(Name = "User name")]
        public string UserName { get; set; }
        public string GameName { get; set; }
        public int win { get; set; }
        public int draw { get; set; }
        public int loss { get; set; }
    }

    public class InstanceModel
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public int CreatorID { get; set; }
        public int GameID { get; set; }
        public bool isActivated { get; set; }
        public bool hasBegun { get; set; }
        public bool finished { get; set; }

    }
}